home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / pennmush.000 / pennmush-1.50-p8-linux.tar / pennmush / ansi.h < prev    next >
Text File  |  1992-10-20  |  566b  |  20 lines

  1. /* ansi.h */
  2.  
  3. /* ANSI control codes for various neat-o terminal effects
  4.  *
  5.  * If you have problems with these, try replacing the '\x1B'
  6.  * with '\033'. This should work in almost all cases, though.
  7.  * The exception appears to be with old version of Ultrix.
  8.  */
  9.  
  10. #define ANSI_NORMAL   "\x1B[0m"
  11.  
  12. #define ANSI_HILITE   "\x1B[1m"
  13. #define ANSI_INVERSE  "\x1B[7m"
  14. #define ANSI_BLINK    "\x1B[5m"
  15.  
  16. #define ANSI_INV_BLINK         "\x1B[7;5m"
  17. #define ANSI_INV_HILITE        "\x1B[1;7m"
  18. #define ANSI_BLINK_HILITE      "\x1B[1;5m"
  19. #define ANSI_INV_BLINK_HILITE  "\x1B[1;5;7m"
  20.